<form action="{:url('@admin/theme/save')}" class="form-horizontal" id="form-modal-submit" method="post">
    <div class="modal fade" data-backdrop="static" id="modal-create">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                    <h4 class="modal-title">主题管理</h4>
                </div>
                <div class="modal-body">
                    <div class="form-group mb0">
                        <label for="theme_name" class="col-sm-2 required">主题预览</label>
                        <div class="col-sm-10">
                            <p class="form-control-static">主题预览图的名称必须为 <code class="bg-danger">preview.png</code>，文件需要位于主题根目录中。</p>
                        </div>
                    </div>
                    <div class="form-group mb5">
                        <label for="theme_style" class="col-sm-2 required">主样式表</label>
                        <div class="col-sm-10">
                            <p class="form-control-static">所有主题都必需包含 <code class="bg-danger">style.css</code> 文件，<code class="bg-danger">style.css</code> 文件需要位于主题根目录中。 主样式表 <code class="bg-danger">style.css</code> 顶部必须包括的主题信息</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="theme_style" class="col-sm-2 required">style.css</label>
                        <div class="col-sm-10">
                            <pre class="mb0">/*
Theme Name: 模板名称
Theme URI: 模板网址
Version: 1.0 版本号
Description: 模板描述
Author: 作者
Author URI: 作者网址
*/</pre>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="theme_file" class="col-sm-2 required">模板文件</label>
                        <div class="col-sm-6">
                            <div class="input-group">
                                <input type="text" class="form-control" name="theme_file" id="theme_file" placeholder="主题文件(zip)" readonly required="true">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="button" id="btn_theme_file">上传</button>
                                </span>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <p class="help-block">文件格式 <code>zip</code></p>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">安装模板</button>
                </div>
            </div>
        </div>
    </div>
</form>